package org.dromara.comm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.comm.domain.AsActivity;
import org.dromara.comm.domain.AsActivityImg;
import org.dromara.comm.domain.AsRegistrationInformation;
import org.dromara.comm.domain.dto.ActivityDto;

import java.util.List;

public interface AsRegistrationInformationService extends IService<AsRegistrationInformation> {

    /**
     * 我要报名
     * @param asRegistrationInformation
     */
    void insertAsRegistrationInformation(AsRegistrationInformation asRegistrationInformation);

    /**
     * 添加活动
     * @param asActivity
     */
    void insetAsActivity(AsActivity asActivity, AsActivityImg asActivityImg);

    /**
     * 查询我的活动
     * @param asActivity
     * @return
     */
    List<Object> queryActivity(AsActivity asActivity);

    /**
     * 详细
     * @param asActivity
     * @return
     */
    List<ActivityDto> selectActivity(AsActivity asActivity);
}
